﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="QL_Nguoi_Dung.aspx.cs" Inherits="QL_Nguoi_Dung" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

                    <table cellpadding="2" class="style4" style="width: 100%">
                        <tr>
                            <td colspan="2" 
                                
                                style="background-color: #FF9933; font-family: arial, Helvetica, sans-serif; color: #FFFFFF; height: 28px; width: 770px; font-size: 16px;" 
                                align="center">
                                QUẢN LÝ NGƯỜI DÙNG</td>
                        </tr>
                        <tr>
                            <td align="right">
                                Tên đăng nhập</td>
                                    <td>
                                        <asp:TextBox ID="txttendangnhap" runat="server" Width="265px"></asp:TextBox>
&nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        Mật khẩu</td>
                                    <td>
                                        <asp:TextBox ID="txtmatkhau" runat="server" Width="265px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        Địa chỉ Email</td>
                            <td>
                                <asp:TextBox ID="txtemail" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                số CMND</td>
                            <td>
                                <asp:TextBox ID="txtcmnd" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Họ và tên</td>
                            <td>
                                <asp:TextBox ID="txthovaten" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Ngày sinh
                            </td>
                            <td>
                                <asp:TextBox ID="txtngaysinh" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Điện thoại</td>
                            <td>
                                <asp:TextBox ID="txtdienthoai" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Địa chỉ liên hệ</td>
                            <td>
                                <asp:TextBox ID="txtdiachi" runat="server" Width="265px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                Tỉnh thành phố</td>
                                    <td>
                                        <asp:DropDownList ID="DropDownListtinhtp" runat="server" Width="270px">
                                            <asp:ListItem>Cần Thơ</asp:ListItem>
                                            <asp:ListItem>HCM</asp:ListItem>
                                            <asp:ListItem>Hậu Giang</asp:ListItem>
                                            <asp:ListItem>Vĩnh Long</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;</td>
                                    <td>
                                        <asp:Button ID="btnthem" runat="server" onclick="btnthem_Click" Text="Thêm" 
                                            Width="50px" />
&nbsp;
                                        <asp:Button ID="btnxoa" runat="server" onclick="btnxoa_Click" Text="Xóa" 
                                            Width="50px" />
&nbsp;
                                        <asp:Button ID="btnsua" runat="server" onclick="btnsua_Click" Text="Sửa" 
                                            Width="50px" />
&nbsp;<asp:Button ID="btbluu" runat="server" onclick="btbluu_Click" Text="Lưu" Width="50px" />
&nbsp;<asp:Button ID="btnkluu" runat="server" onclick="btnkluu_Click" Text="Không lưu" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;</td>
                                    <td>
                                        <asp:Label ID="lblerr" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2">
                                        THÔNG TIN CHI TIẾT</td>
                        </tr>
                        <tr>
                            <td align="right" colspan="2">
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                    onpageindexchanging="GridView1_PageIndexChanging" 
                                    onselectedindexchanged="GridView1_SelectedIndexChanged" Width="100%">
                                    <Columns>
                                        <asp:BoundField DataField="tendangnhap" HeaderText="Tên đăng nhập" />
                                        <asp:BoundField DataField="matkhau" HeaderText="Mật khẩu" />
                                        <asp:BoundField DataField="Email" HeaderText="Email" />
                                        <asp:BoundField DataField="CMND" HeaderText="Số CMND" />
                                        <asp:BoundField DataField="Hovaten" HeaderText="Họ và tên" />
                                        <asp:BoundField DataField="Ngaysinh" HeaderText="Ngày sinh" />
                                        <asp:BoundField DataField="dienthoai" HeaderText="Số điện thoại" />
                                        <asp:BoundField DataField="diachi" HeaderText="Địa chỉ" />
                                        <asp:BoundField DataField="tinh_tp" HeaderText="Tỉnh/TP" />
                                        <asp:CommandField SelectText="Chọn" ShowSelectButton="True" />
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
    </table>

</asp:Content>


